/**
 * Created by yqj on 2017/2/3.
 */
module.exports = (Resource) => {
  const customActions = {
    login: {method: 'GET', url: '/auth/login{/loginAccount}{/loginPassword}'}
  }

  return Resource('/restapi/smartfactory/user', {}, customActions)
}
